package cn.stylefeng.guns.modular.business.frequency.finance.model.param;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Description:
 * @Author jzy
 * @Date 2020/11/13 0013
 **/
@Data
public class SettlementVO {

    @NotNull
    private Long orderId;

    private Long transportId;

    @NotNull
    private Integer type;

    private BigDecimal settlementFee;

    private List<String> imgList;

    private Long operatorUser;

    private String remark;

    private Date settlementTime;

    private Integer channel;

    private Long financeSettlementId;

    private Integer result;

    /**
     * 1 app用户
     */
    private Integer app;

    public SettlementVO() {
    }

    public SettlementVO(Long orderId, Long transportId, Integer type, BigDecimal settlementFee, List<String> imgList, Long operatorUser, String remark, Date settlementTime, Integer channel) {
        this.orderId = orderId;
        this.transportId = transportId;
        this.type = type;
        this.settlementFee = settlementFee;
        this.imgList = imgList;
        this.operatorUser = operatorUser;
        this.remark = remark;
        this.settlementTime = settlementTime;
        this.channel = channel;
    }

    // 收付款类型 1.收款 2.付款
    private Integer cpType;
}
